import { Component, Vue } from 'vue-property-decorator'

@Component
export default class extends Vue {
  // ++++++++++ model ++++++++++
  // ++++++++++ props ++++++++++
  // ++++++++++ data ++++++++++
  background = require('@/assets/home/background.jpg')

  // ++++++++++ computed ++++++++++
  // ++++++++++ methods normal ++++++++++
  // ++++++++++ methods event ++++++++++
  handleLogin() {
    this.$router.push('/login')
  }

  handleRegister() {
    this.$router.push('/register')
  }

  handleLoginManage() {
    this.$router.push("/backend/login")
  }
  // ++++++++++ Lifecycle Hooks ++++++++++
  // ++++++++++ watch ++++++++++
}
